<div class="col-12">
  <ma-popconfirm ma-template="popconfirmTemplate"
    ma-click-hide="true"
    ma-change-callback="changeCallback(show)"
    ma-direction="tr">
    <a href="javascript:void(0)">鼠标点击其他隐藏</a>
  </ma-popconfirm>
</div>
<div class="col-12">
  <ma-popconfirm ma-template="popconfirmTemplateText"
    ma-direction="tr"
    ma-click-hide="false">
    <a href="javascript:void(0)">鼠标离开我自动隐藏</a>
  </ma-popconfirm>
</div>
